package com.along.config;

/*
 * @Author: liujinyi
 * @DateTime: 2025/3/11 17:14
 */

import org.springframework.stereotype.Service;

@Service
public class App1Service {

  private final App1Properties app1Properties;

  public App1Service(App1Properties app1Properties) {
    this.app1Properties = app1Properties;
  }

  public App1Properties printConfig() {
    App1Properties app1Properties1 = new App1Properties();
    app1Properties1.setName(app1Properties.getName());
    app1Properties1.setVersion(app1Properties.getVersion());

    return app1Properties1;
  }
}
